# -*- coding: utf-8 -*-
"""
Created on Tue Sep 24 21:06:25 2019

@author: XCL01
"""

sentence = 'One is always on a strange road, watching strange scenery and listening to strange music. Then one day, you will find that the things you try hard to forget are already gone.'
sentence = sentence.replace("." , " ")
sentence = sentence.replace("," , " ")
from collections import Counter
list_1 = sentence.split() 
dir1 = Counter(list_1)
print(dir1)